//
//  DetailView.m
//  FoodList
//
//  Created by Jason on 16/4/8.
//  Copyright © 2016年 王金晶. All rights reserved.
//

#import "DetailView.h"

@implementation DetailView


- (void)setModel:(VideoModel *)model {
    _model = model;
    _titleLab.text = model.title;
    _durationLab.text = [NSString stringWithFormat:@"%d' %d\"", model.duration / 60, model.duration % 60];
    _detailLab.text = model.myDescription;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
